package org.example.springbootexperiment03.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * Created by bothin
 * At 2020/5/7 14:36
 * Description: 读取一些常量的配置
 */
@Component
@ConfigurationProperties(prefix = "region")
@Data
public class RegionPropertiesConfig {
    private String url;
    private String cron;
}
